<div id="main" class="frontpage">
	<h2>Welcome to <b>Chat</b></h2>
	<p>The the chat is under developement. If you wont to join us, send an email to <%= mail_to "soplop@gmail.com" %></p>
	<p>Click <%= link_to 'here', :controller => "account", :action => "new_user" %> to create a new user.</p>
	<h3>Login:</h3>
	
	<%= form_tag :controller => 'account', :action => 'login' %>
	<table>
		<tr>
			<td><p>Username:</p></td>
			<td><%= text_field_tag 'username' %></td>
		</tr>
		<tr>
			<td><p>Password:</p></td>
			<td><%= password_field_tag 'password' %></td>
		</tr>
		<tr>
			<td></td>
			<td><%= submit_tag 'Login' %></td>
		</tr>
	</table>
		
	<%= end_form_tag %>
	
</div>
